package com.comdo.newup_loan.module.limit;

import com.comdo.newup_loan.base.BaseRxPresenter;
import com.comdo.newup_loan.base.BaseView;
import com.comdo.newup_loan.model.CarBrandBean;
import com.comdo.newup_loan.model.CarModelBean;
import com.comdo.newup_loan.model.CarSeriesBean;

import java.util.List;

/**
 * Created by liyuan on 2017/11/7.
 */

public interface CarBrandContact {
    interface View extends BaseView{
        void getFail(String failMessage);

        void getList(List<CarBrandBean> datas);

        void getSeriesList(List<CarSeriesBean> datas);

        void getModelList(List<CarModelBean> datas);
    }
    abstract class Presenter extends BaseRxPresenter<View> {

        public abstract void getList();
        public abstract void getSeriesList(int brandId);
        public abstract void getModelList(int seriesId);

    }
}
